* Copyright 1992, 1993, Geoff Kuenning, Granada Hills, CA
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All modifications to the source code must be clearly marked as
* such. Binary redistributions based on modified source code
* must be clearly marked as modified versions in the documentation
* and/or other materials provided with the distribution.
* 4. All advertising materials mentioning features or use of this software
* must display the following acknowledgment:
* This product includes software developed by Geoff Kuenning and
* other unpaid contributors.
* 5. The name of Geoff Kuenning may not be used to endorse or promote
* products derived from this software without specific prior
* written permission.
*
* THIS SOFTWARE IS PROVIDED BY GEOFF KUENNING AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL GEOFF KUENNING OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
*/
/*
* Messages header file.
*
* This file contains all text strings that are written by any of the
* C programs in the ispell package. The strings are collected here so that
* you can have the option of translating them into your local language for
* the benefit of your users.
*
* Anyone who goes to the effort of making a translation may wish to return
* the translated strings to me, geoff@ITcorp.com, so that I can include
* them in a later distribution under #ifdef control.
*
* Besides the strings in this header file, you may also want to translate
* the strings in version.h, which give the version and copyright information.
* However, any translation of these strings MUST accurately preserve the
* legal rights under international law; you may wish to consult a lawyer
* about this since you will be responsible for the results of any
* incorrect translation.
*
* Most of the strings below are simple printf format strings. If the printf
* takes more than one parameter, the string is given as a parameterized
* macro in case your local language needs a different word order.
*/
/*
* $Log: msgs.h,v $
* Revision 1.31 1994/12/27 23:08:57 geoff
* Add a message to be issued if a word contains illegal characters.
*
* Revision 1.30 1994/10/25 05:46:40 geoff
* Improve a couple of error messages relating to affix flags.
*
* Revision 1.29 1994/10/04 03:46:23 geoff
* Add a missing carriage return in the help message
*
* Revision 1.28 1994/09/16 05:07:00 geoff
* Add the BAD_FLAG message, and start a sentence in another message with
* an uppercase letter.
*
* Revision 1.27 1994/07/28 05:11:38 geoff
* Log message for previous revision: add BHASH_C_ZERO_COUNT.
*
* Revision 1.26 1994/07/28 04:53:49 geoff
*
* Revision 1.25 1994/05/24 04:54:36 geoff
* Add error messages for affix-flag checking.
*
* Revision 1.24 1994/01/25 07:12:42 geoff
* Get rid of all old RCS log lines in preparation for the 3.1 release.
*
*/
/*
* The following strings are used in numerous places:
*/
#define BAD_FLAG "\r\nIllegal affix flag character '%c'\r\n"
#define CANT_OPEN "Can't open %s\r\n"
#define CANT_CREATE "Can't create %s\r\n"
#define WORD_TOO_LONG(w) "\r\nWord '%s' too long at line %d of %s, truncated\r\n", \
w, __LINE__, __FILE__
/*
* The following strings are used in buildhash.c:
*/
#define BHASH_C_NO_DICT "No dictionary (%s)\n"
#define BHASH_C_NO_COUNT "No count file\n"
#define BHASH_C_BAD_COUNT "Bad count file\n"
#define BHASH_C_ZERO_COUNT "No words in dictionary\n"
/* I think this message looks better when it's nearly 80 characters wide,
* thus the ugly formatting in the next two defines. GK 9-87 */
#define BHASH_C_BAFF_1(max, excess) \
" Warning: this language table may exceed the maximum total affix length\nof %d by up to %d bytes. You should either increase MAXAFFIXLEN in config.X\nor shorten your largest affix/strip string difference. (This is the\n", \
max, excess
#define BHASH_C_BAFF_2 \
"difference between the affix length and the strip length in a given\nreplacement rule, or the affix length if there is no strip string\nin that rule.)\n"
#define BHASH_C_OVERFLOW "Hash table overflowed by %d words\n"
#define BHASH_C_CANT_OPEN_DICT "Can't open dictionary\n"